//
//  FileHelper.h
//  Etion
//
//  Created by  user on 11-2-8.
//  Copyright 2011 GuangZhouXuanWu. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface XMSFileHelper : NSObject
{

}

+ (void)initPath;

+ (NSString *)documentPath;

+ (NSString *)tempPath;

+ (void)createDir:(NSString *)szPath;

+ (NSInteger)isFileDirExist:(NSString *)szPath;

+ (NSInteger)isFileExist:(NSString *)szPath;

+ (NSInteger)isDirExist:(NSString *)szPath;

+ (BOOL)deleteFileDir:(NSString *)szPath;

//废弃
//+ (NSInteger)isDirEmpty:(NSString *)szPath files:(NSArray **)arFile;

+ (NSInteger)isDirEmpty:(NSString *)szPath containFiles:(NSArray **)arFile;

+ (long long)getFileSize:(NSString *)szPath;

+ (void)copySource:(NSString *)szSrcpath toTarget:(NSString *)szTarpath;

+ (void)moveSource:(NSString *)szSrcpath toTarget:(NSString *)szTarpath;

+ (NSDictionary *)getFileAttributes:(NSString *)szPath;

+ (long long)getSystemFreeSize;

+ (long long)getSystemTotalSize;

+ (long long)getSystemUsedSize;

@end
